<?
/**
 * <b>BuyingSummaryType Class</b>
 * Published 04/11/2010 19:00:00
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('AmountType.php');

class BuyingSummaryType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var int $BestOfferCount
	public $BestOfferCount;
	// @var int $BiddingCount
	public $BiddingCount;
	// @var AmountType $TotalWinningCost
	public $TotalWinningCost;
	// @var AmountType $TotalWonCost
	public $TotalWonCost;
	// @var int $WinningCount
	public $WinningCount;
	// @var int $WonCount
	public $WonCount;
	// @var int $WonDurationInDays
	public $WonDurationInDays;
 /** End Properties **/

/**
 *
 * @return int
 */
	function getBestOfferCount(){
		return $this->BestOfferCount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBestOfferCount($value){
		$this->BestOfferCount = $value;
	}


/**
 *
 * @return int
 */
	function getBiddingCount(){
		return $this->BiddingCount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setBiddingCount($value){
		$this->BiddingCount = $value;
	}


/**
 *
 * @return AmountType
 */
	function getTotalWinningCost(){
		return $this->TotalWinningCost;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setTotalWinningCost($value){
		$this->TotalWinningCost = $value;
	}


/**
 *
 * @return AmountType
 */
	function getTotalWonCost(){
		return $this->TotalWonCost;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setTotalWonCost($value){
		$this->TotalWonCost = $value;
	}


/**
 *
 * @return int
 */
	function getWinningCount(){
		return $this->WinningCount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setWinningCount($value){
		$this->WinningCount = $value;
	}


/**
 *
 * @return int
 */
	function getWonCount(){
		return $this->WonCount;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setWonCount($value){
		$this->WonCount = $value;
	}


/**
 *
 * @return int
 */
	function getWonDurationInDays(){
		return $this->WonDurationInDays;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setWonDurationInDays($value){
		$this->WonDurationInDays = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("BuyingSummaryType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"BestOfferCount"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"BiddingCount"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"TotalWinningCost"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"TotalWonCost"=>
					array(
						"required"=>false,
						"type"=>"AmountType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"WinningCount"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"WonCount"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"WonDurationInDays"=>
					array(
						"required"=>false,
						"type"=>"int",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
